package com.wh1200.mybatis.xmlless.constant


/**
 * Created by 吴昊 on 2018/12/19.
 */
object Strings {

  /** 双引号 */
  const val QUOTE = "\""
  const val EMPTY = ""
  const val LINE_BREAK = "\n"
  const val LINE_BREAK_INDENT = "\n  "
  const val CURRENT_USER_HOLDER = "__CURRENT_USER_ID__"
  const val HANDLER_PREFIX = "typeHandler="
  const val TO_JSON_CALL = "@com.wh1200.mybatis.xmlless.model.QueryCriteria@toJson"

  fun jsonCall(str: String): String {
    return "$TO_JSON_CALL($str)"
  }

}
